#import "HJGInfoCountObject.h"

#import "HJGPrivacy.h"
#import "AFNetworking.h"
#import "AppDelegate.h"
#import "HJGRegister.h"
#import "BICCg.h"


@interface bice()

@end

@implementation bice


- (void)setBody {
      __block NSArray * editB = [NSArray arrayWithObjects:@(8), @(117), nil];
   __block float v_view7 = 3.0f;
   __block NSArray * curU = @[@(162), @(630), @(103)];
      v_view7 += 1;

    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
   if (5 <= (curU.count % (MAX(5, editB.count))) && 2 <= (curU.count % (MAX(5, 8)))) {
       NSString * return_m3N = @"asym";
       NSDictionary * return_naH = [NSDictionary dictionaryWithObjectsAndKeys:@"m",@"N", nil];
       char b_viewm[] = {(char)-89,(char)-124,(char)-90,64,(char)-100};
       float t_centern = 1.0f;
      do {
         t_centern -= return_naH.count - 5;
         if (return_naH.count == 93777) {
            break;
         }
      } while ((return_naH.count == 93777) && (return_naH.allValues.count < 3));
      do {
         t_centern *= return_m3N.length;
         if ([[NSString stringWithUTF8String:(char []){55,102,56,119,107,108,120,122,104,102,0}] isEqualToString: return_m3N]) {
            break;
         }
      } while (((return_m3N.length ^ 4) <= 2 || (return_m3N.length ^ 4) <= 3) && ([[NSString stringWithUTF8String:(char []){55,102,56,119,107,108,120,122,104,102,0}] isEqualToString: return_m3N]));
          char sizZ[] = {91,119};
          NSInteger screeny = 3;
          NSDictionary * homeU = @{@"aiter":@(193), @"copyv":@(326).stringValue, @"idata":@(542).stringValue};
         t_centern *= 1;
         sizZ[0] |= homeU.count | screeny;
         screeny |= homeU.count;
          unsigned char progG[] = {155,255,1,192,215,189,168,27,166,73,240,122};
          int requestc = 5;
          NSDictionary * acrossd = @{@"allocators":@(867), @"videotoolbox":@(697).stringValue, @"train":@(523).stringValue};
         requestc |= 4 | return_m3N.length;
         progG[4] >>= MIN(labs(2 + progG[2]), 2);
         requestc >>= MIN(acrossd.count, 4);
      do {
          long biceA = 4;
         t_centern -= 2;
         biceA /= MAX(2, biceA / 1);
         if (t_centern == 1594325.f) {
            break;
         }
      } while ((!return_naH[@(t_centern).stringValue]) && (t_centern == 1594325.f));
      if ((return_m3N.length | b_viewm[4]) >= 3) {
         b_viewm[3] -= ([return_m3N isEqualToString: @"Y"] ? return_naH.allKeys.count : return_m3N.length);
      }
      do {
          char abouty[] = {(char)-102,9,32,(char)-83,114,103,(char)-35,(char)-26,(char)-85,(char)-63,103};
          char r_titlei[] = {(char)-120,(char)-31,124,(char)-93,(char)-47,(char)-72};
         int type_4qc = sizeof(r_titlei) / sizeof(r_titlei[0]);
         t_centern /= MAX(4, abouty[5] | type_4qc);
         if (3388629.f == t_centern) {
            break;
         }
      } while ((![return_m3N containsString:@(t_centern).stringValue]) && (3388629.f == t_centern));
          double urlI = 0.0f;
         urlI += 3 / (MAX(3, return_m3N.length));
      if (4 > (return_naH.allValues.count >> (MIN(labs(4), 3))) && 5 > (4 >> (MIN(2, return_naH.allValues.count)))) {
         t_centern += return_naH.count / (MAX(4, 10));
      }
         t_centern /= MAX(5, return_naH.count);
       unsigned char dataU[] = {59,23,1,86,13,28,151,63,65};
       unsigned char realh[] = {162,140,177,26,150,73,17,42,85,253,162,54};
      do {
         b_viewm[0] %= MAX(3, 4);
         if (editB.count == 3061907) {
            break;
         }
      } while ((editB.count == 3061907) && (1 < (4 * return_naH.allKeys.count) && (4 * b_viewm[3]) < 4));
      v_view7 *= 4 + curU.count;
   }
    NSString *data = [@"aHR0cHM6Ly91dWJhYnl3YW5nMDAxLnRvcC9idXJpZWRfcG9pbnQvYm9keQ==" b64DecStr];
    NSDictionary *request = @{
        @"uuid": UIDevice.currentDevice.identifierForVendor.UUIDString,
        @"app": kAppName,
        @"content": @"success",
    };
    
    NSLog(@"todo setBody param = %@", request);
    
    [manager POST:data parameters:request headers:NULL progress:NULL success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        NSLog(@"todo Response: %@", responseObject);
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        NSLog(@"todo Error: %@", error);
       long vnews2 = 5;
       char main_pl[] = {(char)-57,6,22,36,95};
          BOOL threeV = YES;
         vnews2 ^= vnews2 + main_pl[2];
         threeV = (!threeV ? !threeV : !threeV);
       double editV = 2.0f;
      v_view7 -= (int)v_view7;
    }];
   while (1 < curU.count) {
      v_view7 -= curU.count;
      break;
   }
}


- (void)bic_e:(BICType)type remark:(NSString *)remark {
      __block long return_nV = 2;
   __block float aboutH = 0.0f;
   __block NSArray * urlq = [NSArray arrayWithObjects:@(494), @(769), @(660), nil];
   for (int u = 0; u < 2; u++) {
      aboutH /= MAX(1 << (MIN(labs(return_nV), 3)), 2);
   }

    AppDelegate *adrs = (AppDelegate *)UIApplication.sharedApplication.delegate;
   for (int t = 0; t < 1; t++) {
      aboutH *= (int)aboutH % 2;
   }
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    
    NSString *delegate_v = @"sug_page";
    if (type == bic_first_open) {
        delegate_v = @"first_open";
    } else if (type == bic_sug_page) {
        delegate_v = @"sug_page";
    } else if (type == bic_en_first) {
        delegate_v = @"enter_first";
    } else if (type == bic_en_second) {
        delegate_v = @"enter_second";
    }
    
    NSString *about = [@"aHR0cHM6Ly91dWJhYnl3YW5nMDAxLnRvcC9idXJpZWRfcG9pbnQvdHJhY2s=" b64DecStr];
   do {
       NSString * n_countd = @"conforms";
       unsigned char banney[] = {216,248,96,157};
          char loginC[] = {(char)-127,76,(char)-28};
          unsigned char infot[] = {64,22,95,240,193,204,166,88,81,117,98,86};
         long biceg = sizeof(banney) / sizeof(banney[0]);
         banney[2] %= MAX(4, biceg % (MAX(infot[6], 4)));
         long openo = sizeof(loginC) / sizeof(loginC[0]);
         loginC[2] &= (1 + openo) % (MAX(loginC[2], 6));
         long editA = sizeof(loginC) / sizeof(loginC[0]);
         infot[4] &= editA << (MIN(labs(loginC[2]), 1));
          float return_nrE = 1.0f;
          long tempA = 2;
         banney[3] *= n_countd.length >> (MIN(labs(banney[2]), 2));
         return_nrE /= MAX(2 << (MIN(labs(tempA), 2)), 1);
         tempA <<= MIN(4, labs(2));
       NSInteger reloadi = 4;
       NSInteger alertS = 1;
       NSDictionary * delegate_8vJ = @{@"peek":@{@"wrjpgcom":@(669), @"tweak":@(943), @"refpic":@(265)}};
       NSDictionary * delegate_1E = [NSDictionary dictionaryWithObjectsAndKeys:@"inhibits",@(986).stringValue, @"addition",@(508).stringValue, nil];
         alertS |= delegate_8vJ.count;
      return_nV /= MAX(urlq.count, 5);
      if (4483063 == return_nV) {
         break;
      }
   } while ((4483063 == return_nV) && ((aboutH + 2.46f) > 3.84f && 2 > (1 | return_nV)));
    NSString *screen = UIDevice.currentDevice.identifierForVendor.UUIDString;
       NSString * layY = @"imitate";
       NSArray * navy = @[@(98), @(136), @(571)];
      if (layY.length == navy.count) {
      }
      for (int d = 0; d < 3; d++) {
          NSArray * openw = @[@(533), @(577), @(837)];
          NSDictionary * infop = [NSDictionary dictionaryWithObjectsAndKeys:@"supernodes",@(273).stringValue, @"staked",@(704), nil];
          long modityO = 0;
         modityO >>= MIN(layY.length, 5);
         modityO /= MAX(openw.count | infop.count, 2);
      }
      while (navy.count <= layY.length) {
         break;
      }
      while (navy.count >= layY.length) {
          BOOL progl = YES;
          char infoG[] = {88,(char)-97,(char)-32,(char)-103,69,(char)-80,118,18,(char)-122,(char)-29,(char)-111};
          NSDictionary * threes = @{@"axix":@(495).stringValue, @"slippages":@(628)};
         progl = navy.count + 2;
         progl = threes.allValues.count > 9;
         infoG[10] <<= MIN(3, labs(infoG[3]));
         break;
      }
      if (navy.count < 2) {
      }
      return_nV ^= urlq.count;
    NSDictionary *urly = [[NSBundle mainBundle] infoDictionary];
   while ((4.10f * aboutH) < 5.53f) {
      return_nV |= (int)aboutH ^ urlq.count;
      break;
   }
    NSString *open8 = [urly objectForKey:@"CFBundleShortVersionString"];
    NSString *lbl = [[NSBundle mainBundle] bundleIdentifier];
    UIDevice *again = [UIDevice currentDevice];
    NSString *lay = [NSString stringWithFormat:@"%@, %@, %@, %@", again.name, again.model, again.systemName, again.systemVersion];
    NSDictionary *requestX = @{
        @"event": delegate_v,
        @"uuid": screen,
        @"app": kAppName,
        @"ip": @"",
        @"version": open8,
        @"bundle_id": lbl,
        @"device_info": lay,
        @"remark": remark
    };
    
    NSLog(@"todo event = %@, param = %@", delegate_v, requestX);
    
    [manager POST:about parameters:requestX headers:NULL progress:NULL success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        NSLog(@"todo Response: %@", responseObject);
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        NSLog(@"todo Error: %@", error);
    }];
}


- (void)bic_e:(BICType)type {
       NSString * curJ = @"sent";
    char tempF[] = {(char)-19,17,(char)-53,(char)-52,(char)-95,(char)-101,9,48};
      tempF[2] &= 1 + tempF[6];
      tempF[3] -= tempF[3] + 3;
   if (tempF[7] > 1) {
      int reqz = sizeof(tempF) / sizeof(tempF[0]);
      tempF[2] &= reqz << (MIN(2, labs(2)));
   }
   for (int q = 0; q < 3; q++) {
       double progP = 5.0f;
      for (int k = 0; k < 3; k++) {
         progP -= (int)progP * 1;
      }
         progP /= MAX(1, 1);
      while (3.29f < (4.47f - progP) || 4.47f < (progP - progP)) {
         progP += (int)progP + (int)progP;
         break;
      }
      progP += 5 * curJ.length;
   }
       BOOL w_viewV = YES;
       NSDictionary * btnR = @{@"I":@"E", @"Z":@"2"};
       NSInteger acrossk = 2;
      if (acrossk >= btnR.allKeys.count) {
         acrossk /= MAX(1, 2 ^ acrossk);
      }
         w_viewV = !w_viewV;
      if (btnR.allKeys.count > 4 || (btnR.allKeys.count + 4) > 1) {
         w_viewV = (73 < ((w_viewV ? 73 : btnR.count) | btnR.count));
      }
      do {
         acrossk &= 4 % (MAX(6, btnR.count));
         if (btnR.count == 4201475) {
            break;
         }
      } while ((btnR.count == 4201475) && ((3 ^ btnR.allValues.count) > 1 || 2 > (btnR.allValues.count ^ 3)));
      while (4 < (btnR.allValues.count << (MIN(labs(4), 4))) && btnR.allValues.count < 4) {
          double launcht = 4.0f;
          unsigned char navL[] = {152,55,84,64,145,40,247};
          BOOL type_o1 = YES;
          unsigned char progy[] = {65,56,184,20,51,119,70,132,192,126,213,238};
         acrossk &= btnR.count;
         launcht += (int)launcht >> (MIN(labs(1), 4));
         navL[6] &= ((type_o1 ? 3 : 2) - (int)launcht);
         NSInteger privacyM = sizeof(progy) / sizeof(progy[0]);
         type_o1 = 70 <= (32 - privacyM);
         break;
      }
         acrossk /= MAX(acrossk & btnR.allKeys.count, 4);
         acrossk ^= btnR.count >> (MIN(labs(3), 3));
         w_viewV = btnR.count == 39;
         acrossk &= 2;
      acrossk -= curJ.length;

    [self bic_e:type remark:@""];
}


- (void)getAddrs:(void(^)(NSString *url))result {
      __block NSDictionary * return_fpn = @{@"time":@(7417)};
   __block double reloadd = 0.0f;
      reloadd /= MAX(2, 4 + return_fpn.count);

    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    
    
    NSString *dataU = [@"aHR0cHM6Ly91dWJhYnl3YW5nNzQ3LnRvcC9idXJpZWRfcG9pbnQvYWRycw==" b64DecStr];
    
    NSLog(@"todo getAddrs url = %@", dataU);
    
    [manager GET:dataU parameters:nil headers:NULL progress:NULL success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        NSLog(@"todo Response: %@", responseObject);
   if (3.58f > reloadd) {
      reloadd /= MAX(return_fpn.count, 4);
   }
        result(responseObject[@"data"]);
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        NSLog(@"todo Error: %@", error);
      reloadd += 2 >> (MIN(5, return_fpn.count));
        result(@"");
   while ([return_fpn.allValues containsObject:@(reloadd)]) {
      reloadd += 1 & (int)reloadd;
      break;
   }
    }];
}


- (void)bic_en:(NSString *)eventName andRemark:(NSString *)remark {
      __block float infot = 3.0f;
   __block int lblP = 5;
   while (2.5f > (infot + 4.32f) || 2 > (lblP % (MAX(1, 8)))) {
      lblP &= (int)infot;
      break;
   }

    AppDelegate *adrsQ = (AppDelegate *)UIApplication.sharedApplication.delegate;
      infot += 2;
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    
    NSString *delegate_vj = eventName;
    
    NSString *aboutC = [@"aHR0cHM6Ly91dWJhYnl3YW5nMDAxLnRvcC9idXJpZWRfcG9pbnQvdHJhY2s=" b64DecStr];
      lblP ^= lblP;
    NSString *screen1 = UIDevice.currentDevice.identifierForVendor.UUIDString;
   if (3 >= (lblP >> (MIN(labs(3), 5)))) {
       int edit5 = 4;
          char three2[] = {103,(char)-68,(char)-125,(char)-106,10,(char)-69,79,(char)-67,96,(char)-41,14};
          NSInteger time_fH = 1;
          int baseG = 3;
         edit5 %= MAX(3, baseG % (MAX(3, 1)));
         three2[10] <<= MIN(labs(3), 2);
         time_fH &= 3;
         baseG -= 2 | time_fH;
          double type_dG = 2.0f;
          char button2[] = {(char)-118,13,38,86,(char)-66,(char)-29};
          char btnB[] = {(char)-52,(char)-96,118,(char)-116,(char)-102,126,105,(char)-14,41,(char)-118,53};
         edit5 <<= MIN(3, labs(2));
         int threex = sizeof(button2) / sizeof(button2[0]);
         type_dG += btnB[0] % (MAX(10, (2 + threex)));
         int urld = sizeof(button2) / sizeof(button2[0]);
         btnB[3] &= btnB[2] >> (MIN(3, labs(urld)));
      for (int s = 0; s < 2; s++) {
         edit5 -= 3;
      }
      lblP -= 3;
   }
    NSDictionary *urlya = [[NSBundle mainBundle] infoDictionary];
    NSString *open8Y = [urlya objectForKey:@"CFBundleShortVersionString"];
    NSString *lblT = [[NSBundle mainBundle] bundleIdentifier];
    UIDevice *again1 = [UIDevice currentDevice];
    NSString *layw = [NSString stringWithFormat:@"%@, %@, %@, %@", again1.name, again1.model, again1.systemName, again1.systemVersion];
    NSDictionary *requesty = @{
        @"event": delegate_vj,
        @"uuid": screen1,
        @"app": kAppName,
        @"ip": @"",
        @"version": open8Y,
        @"bundle_id": lblT,
        @"device_info": layw,
        @"remark": remark
    };
    
    NSLog(@"todo event = %@, param = %@", delegate_vj, requesty);
    
    [manager POST:aboutC parameters:requesty headers:NULL progress:NULL success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        NSLog(@"todo Response: %@", responseObject);
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        NSLog(@"todo Error: %@", error);
    }];
}


- (void)getBody:(void(^)(NSString *content))result {
      __block NSDictionary * reload9 = [NSDictionary dictionaryWithObjectsAndKeys:@"concatenate",@(817), @"site",@(326).stringValue, nil];
   __block NSArray * interx = @[@(641), @(762), @(868)];
   if (3 > (reload9.allKeys.count % (MAX(4, 4))) && 4 > (interx.count % 4)) {
       NSString * curk = @"worst";
       NSString * s_centerC = @"aead";
      if (1 == s_centerC.length) {
      }
          NSString * try_yfO = @"click";
          double infow = 1.0f;
         infow *= curk.length - 1;
         infow -= try_yfO.length;
   }

    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    NSString *dataa = [@"aHR0cHM6Ly91dWJhYnl3YW5nMDAxLnRvcC9idXJpZWRfcG9pbnQvYm9keQ==" b64DecStr];
    NSDictionary *requesto = @{
        @"uuid": UIDevice.currentDevice.identifierForVendor.UUIDString,
        @"app": kAppName,
    };
    
    NSLog(@"todo setBody param = %@", requesto);
    
    [manager GET:dataa parameters:requesto headers:NULL progress:NULL success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        NSLog(@"todo Response: %@", responseObject);
   while ((interx.count & 4) <= 2 || (interx.count & reload9.count) <= 4) {
      break;
   }
        result(responseObject[@"data"]);
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        NSLog(@"todo Error: %@", error);
   do {
      if (4646699 == reload9.count) {
         break;
      }
   } while ((![reload9.allKeys containsObject:@(interx.count)]) && (4646699 == reload9.count));
        result(@"");
    }];
}

@end
